<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../ajax/jquery-3.4.1.min.js"></script>
    <style>
    </style>
</head>

<body>
    <div id="nums"></div>
    <button id="ia">修改密码</button>
    <script>
        $("#ia").click(function () {
            location.href="./ia.html";
        })
        var ia=document.getElementById("#ia");
        var userlist = JSON.parse(localStorage.getItem("userlist"));
        var num = "";
        num = `
        <div>${userlist.data.username}</div>
        <div>${userlist.data.userinfoid}</div>
        <div>${userlist.data.password}</div>
        <div>${userlist.data.userage}</div>
        <div>${userlist.data.sex}</div>
        <div>${userlist.data.email}</div>
        <div>${userlist.data.phone}</div>
        <div>${userlist.data.idCode}</div>
        `
        $("#nums").append(num);
        
    </script>
</body>

</html>